//
//  OrderMananger.h
//  YIChuSeller
//
//  Created by 田小椿 on 2019/1/2.
//  Copyright © 2019年 xiangshengjun. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface OrderAndUploadPhotoMananger : NSObject
/**
查询商铺订单功能
 storeId:店铺id
 state:订单状态
 page:页号
 success:成功
 fail:失败
 */
+ (void)selectShopOrderWithStoreID:(NSString *)storeId state:(NSString *)stateStr page:(NSString *)page success:(CompleteHandle)success fail:(CompleteHandle)fail;
/**
 修改订单状态功能
 state:订单状态
 oNumber:订单号码
 success:成功
 fail:失败
 */
+ (void)ChangeShopOrderState:(NSString *)stateStr oNumber:(NSString *)oNumberStr success:(CompleteHandle)success fail:(CompleteHandle)fail;
/*
查询订单详情功能
oNumber:订单号
success:成功
fail:失败
*/
+ (void)selectShopOrderAllMessageWithONumber:(NSString *)oNumberStr  success:(CompleteHandle)success fail:(CompleteHandle)fail;
/*
 上传照片
 image:图片
 fileName:文件名
 success:成功
 fail:失败
 */
+ (void)uploadPhotoToServerFromImage:(UIImage *)image fileName:(NSString *)flieName  success:(CompleteHandle)success fail:(CompleteHandle)fail;
@end

NS_ASSUME_NONNULL_END
